DELETE DIRECTORY

This command will delete an existing directory.

  Syntax
DELETE DIRECTORY Directory Name
  Parameters
Directory Name
String
Will delete an existing directory. The directory must exist or the command will fail. The directory must be completely empty or this command will not succeed

  Returns

This command does not return a value.

  Description

The directory must exist or the command will fail. The directory must be completely empty or this command will not succeed. You cannot delete a directory if there are files contained inside it, this is a precaution against accidental deleting of important files on your hard drive.

  Example Code
cls
make directory "oldfiles"dir
wait 1000*8
delete directory "oldfiles"dir
do
loop
end
  See also

FILE Commands Menu
Index